import Vue from 'vue';
import Router from 'vue-router';

const Home = () => import('../views/Home.vue');
const About = () => import('../views/About.vue');
Vue.use(Router);
const routes = [
  {
    path: '/home',
    name: 'Home',
    component: Home
  },
  {
    path: '/about',
    name: 'About',
    component: About
  }
];

// const router = new VueRouter({
//   mode: 'history',
//   base: process.env.BASE_URL,
//   routes
// });

export default routes;
